<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Login</title>
</head>
<body>
    <p th:text="${errorMsg}" style="color: red"></p><!--登录失败显示信息-->
    <form th:action="@{/login}" method="post">
        账户：<input type="text" name="username"/><br/>
        密码：<input type="password" name="password"/><br/>
        <input type="submit" name="登录"/>
    </form>
</body>
</html>